import { Matches } from 'class-validator';

export class IdsDto {
  @Matches(/^(\d+,)*(\d+)$/, { message: 'ids 格式不符合要求' })
  ids: string;

  [key: string]: any;
}

// /^(\d+,)*(\d+)$/.test('151,152,153,154,155,165,157');
